<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="css/demo.css" type="text/css">
    <style>
        .radio-inline input[type=radio] {
            margin-top: 4px
        }
    </style>
</head>

<body style="color:#333;padding:3px;overflow-x: auto;">
    <!-- 标题 -->
    <div class="page-heade">
      <h1 class="title_color">常规促销取消申请明细</h1>
    </div>
    <!-- 标题 -->
    <div >
    <form action="" class="form-inline">
      <table class="table row-margin-top table-bordered bud_hei">
          <tr>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >主题</label></td>
             <td colspan="7" class="font-bold">10月杭州地堆活动</td>
          </tr>
          <tr>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >编号</label></td>
             <td></td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >原申请编号</label></td>
             <td>201510100008</td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >修改后编号</label></td>
             <td>无</td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >状态</label></td>
             <td>草稿</td>
          </tr>
           <tr>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >申请人</label></td>
             <td><a href="javascript:;">何跃(华东大区经理)</a></td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >申请人部门</label></td>
             <td>华东大区</td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >申请时间</label></td>
             <td>2015-10-10 16:36</td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >经销商性质</label></td>
             <td>经销</td>
          </tr>
           <tr>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >经销商名称</label></td>
             <td><span class="font-bold">杭州市清江贸易有限公司 <a href="agencyyijudetail.html"><span class="glyphicon glyphicon-zoom-in fangda" aria-hidden="true"></span></a></span></td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >所属分区</label></td>
             <td>华东大区</td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >所属省份</label></td>
             <td>福建省</td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label" >所属城市</label></td>
             <td>福州市</td>
          </tr>
      </table>
       <table class="table row-margin-top table-bordered text-center bud_hei">
         <thead>
          <tr class="info">
             <th class="text-center" style="min-width:80px" rowspan="2">状态</th>
             <th class="text-center" style="min-width:80px" rowspan="2">审批人</th>
             <th class="text-center" style="min-width:80px" rowspan="2">核查结果</th>
             <th class="text-center" style="min-width:80px" rowspan="2">序号</th>
            <th class="text-center" style="min-width:140px" rowspan="2">明细编号</th>
            <th class="text-center" rowspan="2" style="min-width: 180px">系统名称</th>
            <th class="text-center" rowspan="2" style="min-width: 100px">负责人</th>
            <th class="text-center" rowspan="2" style="min-width: 180px">网点名称</th>
            <th class="text-center" rowspan="2" style="min-width: 180px">产品系列</th>
            <th class="text-center" style="min-width: 220px">促销产品</th>
            <th class="text-center" style="min-width: 120px" rowspan="2">促销执行时间</th>
            <th class="text-center" style="min-width: 120px" rowspan="2">异动后促销执行时间</th>
            <th class="text-center" style="min-width: 120px" rowspan="2">预计核销时间</th>
             <th class="text-center" colspan="7">三级费用科目</th>
             <th class="text-center" style="min-width: 120px" rowspan="2">预计费用率</th>
             <th class="text-center" style="min-width: 120px" rowspan="2">基准销量</th>
            <th class="text-center" style="min-width: 100px" rowspan="2">预计ROI</th>
            <th class="text-center" style="min-width: 100px" rowspan="2">费用支付方式</th>
            <th class="text-center" style="min-width: 340px" rowspan="2">取消原因<span class="colorRed">*</span><br>
              <span class="colorRed">(要取消的促销必须填原因，不填原因视为不取消！)</span><button class="btn btn-info " type="button" id="cancelBtn">取消整单</button>
            </th>
          </tr>
           <tr class="info">
            <th class="text-center" style="min-width: 220px">单品</th>
            <th class="text-center" style="min-width: 160px">费用名称</th>
            <th class="text-center" style="min-width: 200px">未税费用金额(元)<br>(申请金额/批复金额)</th>
            <th class="text-center" style="min-width: 100px">是否增值税(可抵扣)</th>
            <th class="text-center" style="min-width: 100px">税率</th>
            <th class="text-center" style="min-width: 100px">含税费用金额(元)</th>
            <th class="text-center" style="min-width: 120px">实际投入费用(元)</th>
            <th class="text-center" style="min-width: 120px">费用描述</th>
         </thead>
        <tr class="text-left">
          <td>正常</td>
          <td>无</td>
          <td>无</td>
          <td>1</td>
          <td><a href="formalcxylb.html">201510200008</a><a href="detailnum.html"><span class="glyphicon glyphicon-zoom-in fangda" aria-hidden="true" style="display: inline-block;"></span></a></td>
          <td>杭州维嘉食品有限公司</td>
          <td>何跃</td>
          <td>世纪联华骆家庄店<a href="netjcYj.html"><span class="glyphicon glyphicon-zoom-in fangda" aria-hidden="true" style="display: inline-block;"></span></a></td>
          <td>舒爽-牙膏-臻白牙膏<a href="roijcyj.html"><span class="glyphicon glyphicon-zoom-in fangda" aria-hidden="true" style="display: inline-block;"></span></a></td>
          <td><span class="glyphicon glyphicon-warning-sign jinchang" aria-hidden="true" title="此条码在申请时未进场"></span>200克舒爽防蛀臻白牙膏<a href="roijcyj.html"><span class="glyphicon glyphicon-zoom-in fangda" aria-hidden="true" style="display: inline-block;"></span></a></td>
          <td>2017-08-21<br>2017-10-31</td>
          <td></td>
          <td>2018-01-01</td>
          <td>促销折让与折扣</td>
          <td class="ObjectNum text-right">10800</td>
          <td>否</td>
          <td class="text-right"><span class="ObjectNum">0</span>%</td>
          <td class="ObjectNum text-right">10800</td>
          <td class="ObjectNum text-right">10800</td>
          <td>特价10%</td>
          <td class="text-right"><span class="ObjectNum">11.11</span>%</td>
          <td class="text-right ObjectNum">0</td>
          <td class="text-right"><span class="ObjectNum">297</span>%</td>
          <td>账扣</td>
          <td><input type="text" class="form-control" name=""></td>
        </tr>
        <tr class="trTotal1"></tr>
      </table>
      <table class="table table-bordered" style="margin:0;padding: 0">
          <tr>
            <td class="font-bold">本申请中包含<span>1</span>个网点，其中促销折让与折扣：<span class="ObjectNum">22656</span>元；总费用：<span class="ObjectNum">22656</span>元。总预计销量：<span class="ObjectNum">203904</span>元；总费用率：<span class="ObjectNum">11.11</span>%；总ROI: <span class="ObjectNum">297</span>%；</td>
          </tr>
      </table>
         <div class="form-group white-bg" style="margin:20px 10px 20px 20px">
        <input type="file" id="exampleInputFile">
        <p class="help-block" style="color:#1295d2">注：最多上传15个文件，每个文件小于50M,支持格式：</p>
        <p class="help-block" style="color:#1295d2">jpg,bnp,gif,png,jpeg,tif,raw,doc,docx,xls,xlsx,ppt,pptx,txt,pdf,rar,zip,mp4,avi,rmvb,rm,mid,3gp,AVI,3GP,,mpg,mp3,wma,wav</p>
    </div>
      <div class="row text-center no-padding">
            <button class="btn btn-primary">保存为草稿</button>
            <button class="btn btn-warning">保存并提交流程</button>
            <button class="btn btn-info">返回</button>
        </div>
</form>
    </div>
    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
   <script src="js/plugins/layer/laydate/laydate.js"></script>
   <script src="js/plugins/layer/layer.min.js"></script>
   <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
  <script src="js/common.js"></script>
    <script>
           $(document).ready(function(){
            var $ObjectNum =$(".ObjectNum");
               toNum($ObjectNum);

          /*取消整单按钮*/
              $("#cancelBtn").click(function(){
                    var str = '<form method="get" class="form-inline" style="margin:10px"><table class="table-bordered table"><tr><th class="info text-center" colspan="2">取消整单</th></tr><tr><td style="min-width:120px;width:120px;" class="text-center">取消原因<span class="colorRed">*</span></td><td><input type="text" name="" class="form-control" style="min-width:400px;" /></td></tr></table> <div class="row sub_btn" style="width:100%;text-align:center;padding: 20px 0"><input type="submit" class="btn btn-success" value="确定"><input type="button" class="btn btn-warning" value="返回" id="cancelBack" style="margin-left:20px"></div></form>'
            layer.open({
              type: 1,
              title:"",
              skin: 'layui-layer-rim', //加上边框
              area: ['800px', '540px'], //宽高
              content: str
            });
              var cancelBack = document.getElementById('cancelBack')
              cancelBack.onclick = function(){
               layer.closeAll(); 
               }
              });
            });
      /*时间日期*/
             laydate({
            elem: '#preverifyTime', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎，因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
            event: 'focus' //响应事件。如果没有传入event，则按照默认的click
        });
          var start = {
            elem: '#start',
            format: 'YYYY/MM/DD',
            min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                end.min = datas; //开始日选好后，重置结束日的最小日期
                end.start = datas //将结束日的初始值设定为开始日
            }
        };
        var end = {
            elem: '#end',
            format: 'YYYY/MM/DD',
            min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                start.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
        laydate(start);
        laydate(end);
       
    </script>
</body>

</html>
